package com.weiyan.blog;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author misterWei
 * @create 2020年01月19号:23点33分
 * @mailbox mynameisweiyan@gmail.com
 */
@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient //获取注册中心的服务
@EnableFeignClients    //通过Feign的方法去调用服务
public class BlogOaApplication {
    public static void main(String[] args) {
        SpringApplication.run(BlogOaApplication.class,args);
    }
}
